package cn.nawang.ebeim.api.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.nawang.ebeim.api.comm.BaseQuery;
import cn.nawang.ebeim.api.domain.StorageStrategy;
import cn.nawang.ebeim.api.domain.TbStorageStrategy;
import cn.nawang.ebeim.api.domain.User;
import cn.nawang.ebeim.api.repository.StorageStrategyRepository;
import cn.nawang.ebeim.api.service.StorageStrategyService;

/**
 * @ClassName: StorageStrategyServiceImpl
 * @Description: TODO
 * @author fanyb
 * @date Aug 18, 2015 9:55:00 AM
 * @version v1.0
 */
@Service("storageStrategyService")
public class StorageStrategyServiceImpl implements StorageStrategyService{
  
  @Autowired
  private StorageStrategyRepository storageStrategyRepository;

  @Override
  public StorageStrategy findByCustomerId(String customerId) {
    
    return storageStrategyRepository.findByCustomerId(customerId);
  }
}
